﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using HumanResorcesProj.DAL._HR_DSTableAdapters;
using HumanResorcesProj.DAL;

namespace HumanResorcesProj.BLL
{
    public class AssoDomainBLL
    {
        public static string Asso;

        private AssoDomainTableAdapter info = null;
        public AssoDomainTableAdapter adapter
        {
            get
            {
                if (info == null) info = new AssoDomainTableAdapter();
                return info;
            }
        }


        public DAL._HR_DS.AssoDomainDataTable GetData(string ProjectName)
        {
            return adapter.GetAssoDomainData(ProjectName);
        }


        public DAL._HR_DS.AssoDomainDataTable GetSubProj(string ProjectName)
        {
            return adapter.GetSubByProjName(ProjectName);
        }
    }
}